package com.wzdigit.wms.basic.client.response.inv;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 【库存冻结/解冻单表头】输出
 * @author Administrator
 *
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = false)
public class HoldHeaderResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 冻结/解冻单表头ID
     */
    @ApiModelProperty(value = "冻结/解冻单表头ID")
    private Integer holdHeaderId;

    /**
     * 冻结/解冻单号
     */
    @ApiModelProperty(value = "冻结/解冻单号")
    private String holdNo;

    /**
     * 单据类型
     */
    @ApiModelProperty(value = "单据类型")
    private String holdType;

    /**
     * 货主，客户主数据中 客户类型=货主，取客户ID
     */
    @ApiModelProperty(value = "货主")
    private Integer owner;

    /**
     * 冻结/解冻原因
     */
    @ApiModelProperty(value = "冻结/解冻原因")
    private String holdCode;

    /**
     * 冻结/解冻原因描述
     */
    @ApiModelProperty(value = "冻结/解冻原因描述")
    private String holdReason;

    /**
     * 冻结/解冻方式:
     */
    @ApiModelProperty(value = "冻结/解冻方式")
    private String holdWay;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String comments;
    
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createUser;
    
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String modifyUser;
    
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;
    
    /**
     * 冻结/解冻数量
     */
    @ApiModelProperty(value = "冻结/解冻数量")
    private BigDecimal qty;
    
    /**
     * 解冻数量（冻结单才有）
     */
    @ApiModelProperty(value = "解冻数量（冻结单才有）")
    private BigDecimal thawQty;
    
    /**
     * 关联单号
     */
    @ApiModelProperty(value = "关联单号")
    private String sourceNo;
}
